package cz.proks.easyhelpdesk.gae.core.manager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import cz.proks.easyhelpdesk.api.CategoryApi;
import cz.proks.easyhelpdesk.api.config.Configuration;
import cz.proks.easyhelpdesk.api.model.Category;

@Component
public class CategoryManager extends AHelpdeskManager<Category> implements CategoryApi {

    @Autowired
    @Qualifier(Configuration.Core.DB.CATEGORY_API)
    private CategoryApi dbApi;
    
    @Override
    protected CategoryApi getDbApi() {
        return dbApi;
    }
}
